package com.yuyou.fn.crm.service;

import com.github.wens.framework.service.ISuperService;
import com.github.wens.mybatisplus.plugins.Page;
import com.yuyou.fn.crm.entity.CrmCommunicateHistory;
import com.yuyou.fn.crm.vo.CrmCommunicateHistoryQueryVo;
import com.yuyou.fn.crm.vo.CrmCommunicateHistorySaveVo;
import com.yuyou.fn.crm.vo.CrmCommunicateInputVo;
import org.apache.poi.xssf.streaming.SXSSFWorkbook;

import java.util.List;

/**
 *
 * CrmCommunicateHistory 表数据服务层接口
 *
 */
public interface ICrmCommunicateHistoryService extends ISuperService<CrmCommunicateHistory,Long> {

    void saveCommunicateHistory(CrmCommunicateHistorySaveVo crmCommunicateHistorySaveVo);

    void saveCommunicateHistoryBatch(List<CrmCommunicateInputVo> crmCommunicateInputVos);

    List<CrmCommunicateHistory> findCommunicateHistoryList(CrmCommunicateHistoryQueryVo crmCommunicateHistoryQueryVo);

    Page<CrmCommunicateHistory> findCommunicateHistoryPage(CrmCommunicateHistoryQueryVo crmCommunicateHistoryQueryVo,int pageNo,int pageSize);

    SXSSFWorkbook exportCommunicateHistory(CrmCommunicateHistoryQueryVo crmCommunicateHistoryQueryVo);

    List<CrmCommunicateHistory> findCommunicateHistoryByCommunicateIds(List<Long> studentCommunicateIds);
}